package day52.user.mapper;

import day52.user.domain.Logininfo;
import day52.user.domain.User;
import day52.basic.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Yang
 * @since 2022-12-21
 */
@Repository
public interface UserMapper extends BaseMapper<User> {

    User findByPhone(String phone);

    Logininfo findLogininfoByUserId(Long userId);

    User findByLogininfoId(Long id);

}
